home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / exampleCode / inventor / DirectManipRevoSurf / README < prev    next >
Encoding:
Text File  |  1994-08-02  |  2.3 KB  |  57 lines

  1.  
  2.       ~4Dgifts/toolbox/src/exampleCode/inventor/DirectManipRevoSurf README
  3.  
  4.     draggers implementation for direct manipulation of surface of revolution
  5.  
  6.  
  7.           Recently someone posted a question (on comp.sys.sgi.graphics) 
  8.           about using Inventor manipulators to edit shapes.
  9.  
  10.           Here's a demo that uses draggers for direct manipulation
  11.           of a surface of revolution. 
  12.  
  13. -------------------------------------------------------------------------
  14. NOTE:  You must be running the 5.2 operating system and have Inventor 2.0
  15.        installed to run this demo!
  16. -------------------------------------------------------------------------
  17.  
  18. Instructions:
  19.     [1] setenv LD_LIBRARY_PATH .
  20.     [2] ivview -q test.iv
  21.  
  22.     When ivview comes up, you should see a surface of revolution.
  23.     Dragging the cubes changes the profile curve.
  24.     Dragging the spheres changes the axis of revolution.
  25.     Try clicking the right mouse and selecting 'hidden line' from the 
  26.     drawStyle menu for a cool looking version.
  27.  
  28. Explanation:
  29.     Step [1] sets the environment variable LD_LIBRARY_PATH to the current 
  30.              directory.  Inventor programs (like ivview) will look here for
  31.              DSO's of classes that are not 'standard' Inventor.  The files 
  32.              given include one such DSO, RevoSurfEngine.so (see below).
  33.     Step [2] Runs ivview, a program that reads in an Inventor file and 
  34.              displays it on screen.
  35.  
  36. About the files in the directory:
  37.     RevoSurfEngine.h   
  38.     RevoSurfEngine.c++ - header and source files for a class of engine that 
  39.              takes an axis and a set of profile points as input.
  40.              Outputs points defining a surface of revolution.
  41.     RevoSurfEngine.so  - Dynamic Shared Object for the RevoSurfEngine.
  42.              When ivview encounters a RevoSurfEngine in test.iv,
  43.              it will look in the current directory for this file.
  44.     Makefile           - Makes RevoSurfEngine.so from the header and source.
  45.              (You can only do this if you have the inventor
  46.               developer option).
  47.     test.iv            - An Inventor file containing a RevoSurfEngine,
  48.              draggers for editing the axis and spine, and
  49.              an SoIndexedFaceSet that displays the surface.
  50.  
  51. Inventor enables Rapid Development!!
  52.     This demo took only 3 1/2 hours to write, working from scratch,
  53.     start to finish.
  54.     
  55.     Paul Isaacs
  56.     pauli@sgi.com
  57.